<?php     

//------------------------------------------------------------------------------------------------------------------------
//TODO
//1. Output warning when the sum of all tabWidthUserDefined tabs + border is bigger then the defined totalWidth
//2. Auto-Size of the tabs (width) and/or the ability to define the width per language
//3. Caching of the whole tab-menu

//If you have problems or suggestions for improvements, please post them on the official support thread: http://bit.ly/gAhF2k 
//------------------------------------------------------------------------------------------------------------------------


//TMS-Path
$CONF['pathTMS']                       = 'TMS/'; //you shouldn't have to change it


//General Definitions
$CONF['noOfTabs']                      = 6;    //no of tabs
$CONF['tabHeight']                     = 27;   //height of the tabs in pixels
$CONF['totalWidth']                    = 630;  //width of all tabs + borders together
$CONF['defaultContentSectionHeight']   = 230;  //default (min) height of the content section in pixels
$CONF['tabPaddingTop']                 = 0;    //define padding in tabs if needed, for example if you are using images
$CONF['useATabAsPlaceholder']          = true; //can be true or false, defines how the last tab will appear if empty / empty space         

$CONF['contentBackgroundColor']        = 'F4F4F4';
$CONF['tabColor']                      = 'DBDBDB'; 


//In the following definition you can defined the width of each tab, the left/right borders are not included
//So if you have 3 tabs, there are also 4 borders (= 4 additional pixels in width total, it's always the number of tabs + 1 = total number of borders)
//If you don't define all tabs, it will automatically generate the undefined tabs with the rest of the space (width) available 
$CONF['tabWidthUserDefined'][1]        = 120;
$CONF['tabWidthUserDefined'][2]        = 110;
$CONF['tabWidthUserDefined'][3]        = 100;
$CONF['tabWidthUserDefined'][4]        = 130;
$CONF['tabWidthUserDefined'][5]        = 80;

//Language Settings
$CONF['defaultLanguage']               = 'en'; //will be taken if no specific language is set or a tab name is not defined in a specific language

$CONF['tabs']['en'][1]                 = 'Description';
$CONF['tabs']['en'][2]                 = 'Features';
$CONF['tabs']['en'][3]                 = 'To-Do\'s';
$CONF['tabs']['en'][4]                 = 'Content Demo';
$CONF['tabs']['en'][5]                 = 'Tags';     

$CONF['tabs']['de'][1]                 = 'Beschreibung';
$CONF['tabs']['de'][2]                 = 'Funktionen';
$CONF['tabs']['de'][3]                 = 'Geplant';
$CONF['tabs']['de'][4]                 = 'Demo mit Inhalt';      

$CONF['languages']['german']           = 'de'; //define all languages you are using
$CONF['languages']['english']          = 'en';
$CONF['languages']['french']           = 'fr';
$CONF['languages']['spanish']          = 'es';


//Initialize and Cleanup
include $CONF['pathTMS'].'TabMenuSection.php';
$TMS = new TabMenuSection($CONF);
unset($CONF);


//Error Handling (for debugging)
error_reporting(E_ALL);
ini_set("display_errors", 1);


